<?php
App::uses('ViagensController', 'Controller');

/**
 * TestViagensController *
 */
class TestViagensController extends ViagensController {
/**
 * Auto render
 *
 * @var boolean
 */
  public $autoRender = false;

/**
 * Redirect action
 *
 * @param mixed $url
 * @param mixed $status
 * @param boolean $exit
 * @return void
 */
  public function redirect($url, $status = null, $exit = true) {
    $this->redirectUrl = $url;
  }
}

/**
 * ViagensController Test Case
 *
 */
class ViagensControllerTestCase extends CakeTestCase {
/**
 * Fixtures
 *
 * @var array
 */
  public $fixtures = array('app.viagens');

/**
 * setUp method
 *
 * @return void
 */
  public function setUp() {
    parent::setUp();
    $this->Viagens = new TestViagensController();
    $this->Viagens->constructClasses();
  }

/**
 * tearDown method
 *
 * @return void
 */
  public function tearDown() {
    unset($this->Viagens);

    parent::tearDown();
  }

}
